Package com.bitmovin.player.api.advertising

Contains API to enable advertising workflows.

Types

Ad
Link copied to clipboard
interface Ad
Defines basic properties available for every ad type
AdBreak
Link copied to clipboard
interface AdBreak : AdConfig
Contains information about an ad break.
AdBreakConfig
Link copied to clipboard
interface AdBreakConfig : AdTagConfig
Contains configuration options for an AdBreak.
AdConfig
Link copied to clipboard
interface AdConfig
Contains the base configuration options for an ad.
AdData
Link copied to clipboard
interface AdData
Holds various additional ad data.
AdItem
Link copied to clipboard
open class AdItem : Parcelable
Represents an ad which can be scheduled in the play.
AdQuartile
Link copied to clipboard
enum AdQuartile
Quartiles that can be reached during an ad playback.
AdsManagerAvailableCallback
Link copied to clipboard
interface AdsManagerAvailableCallback
Can be implemented to gain access to the currently used IMA AdsManager.
AdSource
Link copied to clipboard
open class AdSource : Parcelable
Represents an ad source which can be assigned to an AdItem.
AdSourceType
Link copied to clipboard
enum AdSourceType : Enum<AdSourceType> , Parcelable
The available types an AdSource can have.
AdTag
Link copied to clipboard
class AdTag(url: String, type: AdTagType)
Defines the url and type of an ad manifest.
AdTagConfig
Link copied to clipboard
interface AdTagConfig : AdConfig
Contains configuration options for an AdTag.
AdTagType
Link copied to clipboard
enum AdTagType : Enum<AdTagType>
Types that can be specified for an AdTag.
AdvertisingConfig
Link copied to clipboard
data class AdvertisingConfig(schedule: List<AdItem>, companionAdContainers: List<CompanionAdContainer>?, adsManagerAvailableCallback: AdsManagerAvailableCallback?, beforeInitialization: BeforeInitializationCallback?) : Parcelable
Contains configuration values regarding the ads which should be played back by the player.
BeforeInitializationCallback
Link copied to clipboard
interface BeforeInitializationCallback
A callback to be invoked before IMA initialization, exposing the IMA settings
CompanionAdContainer
Link copied to clipboard
data class CompanionAdContainer(container: ViewGroup, width: Int, height: Int)
LinearAd
Link copied to clipboard
interface LinearAd : Ad
Defines a linear ad which requires the playback of the content to stop
OverlayAd
Link copied to clipboard
interface OverlayAd : Ad
Defines an ad which gets displayed during content playback